package com.example.util;


import com.example.entity.Task;
import com.example.entity.TaskConfig;
import com.google.common.util.concurrent.Service;

public abstract class TaskListener extends Service.Listener {

    private Task task;

    private TaskConfig taskConfig;

    public final void setTask(Task task) {
        this.task = task;
    }


    public final Task getTask() {
        return task;
    }


    public final void setTaskConfig(TaskConfig taskConfig) {
        this.taskConfig = taskConfig;
    }

    public final TaskConfig getTaskConfig() {
        return taskConfig;
    }

}
